﻿using UnityEngine;

namespace Framework
{
    [CreateAssetMenu(fileName ="StatickBlockRenderConfig",menuName = "Config/StatickBlockRenderConfig")]
    public class StaticBlockRenderConfig : ScriptableObject
    {
        public Material material;
        public Render.CombineTexture texture;

        private void OnEnable()
        {
            Debug.Log("start"); 
            texture.Combine();
            material.mainTexture = texture.CombineTex;
        }
    }
}